From: LLVM Packaging Team Date: Mon, 31 Jul 2023 20:16:10 +0000 (+0100) Subject: openmp-soname X-Git-Tag: archive/raspbian/1%13.0.1-13+rpi1^2~81 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=953035c2bb8de38e2b3c777976b3efea49b0a280;p=llvm-toolchain-13.git openmp-soname =================================================================== Gbp-Pq: Name openmp-soname.diff --- diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index 7080f92495..80852d9d94 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -366,7 +366,8 @@ else() set(LIBOMP_INSTALL_KIND ARCHIVE) endif() -set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${LIBOMP_LIBRARY_SUFFIX}) +set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}.${LIBOMP_VERSION_MAJOR}) + # Optional backwards compatibility aliases. set(LIBOMP_INSTALL_ALIASES TRUE CACHE BOOL